package com.fire.communication.model;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fire.communication.common.base.BasisEntity;

/**
 * @author Yang yu
 * @version 1.0
 * @date 2020/7/23 16:45
 */
@TableName("firelink_device.dict_child")
public class DictChild extends BasisEntity {
    private String id;//主键id
    private String name;//名称
    private String pid;//父级id
    private String pidname;//父级名称
    private String groupname;//组名
    private Integer sortid;//排序字段

    public String getPid() {
        return this.getString("pid");
    }

    public void setPid(String pid) {
        this.put("pid",pid);
    }

    public String getPidname() {
        return this.getString("pidname");
    }

    public void setPidname(String pidname) {
        this.put("pidname",pidname);
    }

    public String getId() {
        return this.getString("id");
    }

    public void setId(String id) {
        this.put("id",id);
    }

    public String getName() {
        return this.getString("name");
    }

    public void setName(String name) {
        this.put("name",name);
    }

    public String getGroupname() {
        return this.getString("groupname");
    }

    public void setGroupname(String groupname) {
        this.put("groupname",groupname);
    }

    public Integer getSortid() {
        return this.getInteger("sortid");
    }

    public void setSortid(Integer sortid) {
        this.put("sortid",sortid);
    }
}
